3.10.93 \(\int \frac {(b d+2 c d x)^6}{(a+b x+c x^2)^3} \, dx\)

Optimal. Leaf size=108 \[ -60 c^2 d^6 \sqrt {b^2-4 a c} \tanh ^{-1}\left (\frac {b+2 c x}{\sqrt {b^2-4 a c}}\right )-\frac {5 c d^6 (b+2 c x)^3}{a+b x+c x^2}-\frac {d^6 (b+2 c x)^5}{2 \left (a+b x+c x^2\right )^2}+60 c^2 d^6 (b+2 c x) \]

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 108, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {686, 692, 618, 206} \begin {gather*} -60 c^2 d^6 \sqrt {b^2-4 a c} \tanh ^{-1}\left (\frac {b+2 c x}{\sqrt {b^2-4 a c}}\right )-\frac {5 c d^6 (b+2 c x)^3}{a+b x+c x^2}-\frac {d^6 (b+2 c x)^5}{2 \left (a+b x+c x^2\right )^2}+60 c^2 d^6 (b+2 c x) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(b*d + 2*c*d*x)^6/(a + b*x + c*x^2)^3,x]

[Out]

60*c^2*d^6*(b + 2*c*x) - (d^6*(b + 2*c*x)^5)/(2*(a + b*x + c*x^2)^2) - (5*c*d^6*(b + 2*c*x)^3)/(a + b*x + c*x^
2) - 60*c^2*Sqrt[b^2 - 4*a*c]*d^6*ArcTanh[(b + 2*c*x)/Sqrt[b^2 - 4*a*c]]

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 618

Int[((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> Dist[-2, Subst[Int[1/Simp[b^2 - 4*a*c - x^2, x], x]
, x, b + 2*c*x], x] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 686

Int[((d_) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[(d*(d + e*x)^(m - 1)*
(a + b*x + c*x^2)^(p + 1))/(b*(p + 1)), x] - Dist[(d*e*(m - 1))/(b*(p + 1)), Int[(d + e*x)^(m - 2)*(a + b*x +
c*x^2)^(p + 1), x], x] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && EqQ[2*c*d - b*e, 0] && NeQ[m + 2
*p + 3, 0] && LtQ[p, -1] && GtQ[m, 1] && IntegerQ[2*p]

Rule 692

Int[((d_) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[(2*d*(d + e*x)^(m -
1)*(a + b*x + c*x^2)^(p + 1))/(b*(m + 2*p + 1)), x] + Dist[(d^2*(m - 1)*(b^2 - 4*a*c))/(b^2*(m + 2*p + 1)), In
t[(d + e*x)^(m - 2)*(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, p}, x] && NeQ[b^2 - 4*a*c, 0] && EqQ[
2*c*d - b*e, 0] && NeQ[m + 2*p + 3, 0] && GtQ[m, 1] && NeQ[m + 2*p + 1, 0] && (IntegerQ[2*p] || (IntegerQ[m] &
& RationalQ[p]) || OddQ[m])

Rubi steps

\begin {align*} \int \frac {(b d+2 c d x)^6}{\left (a+b x+c x^2\right )^3} \, dx &=-\frac {d^6 (b+2 c x)^5}{2 \left (a+b x+c x^2\right )^2}+\left (5 c d^2\right ) \int \frac {(b d+2 c d x)^4}{\left (a+b x+c x^2\right )^2} \, dx\\ &=-\frac {d^6 (b+2 c x)^5}{2 \left (a+b x+c x^2\right )^2}-\frac {5 c d^6 (b+2 c x)^3}{a+b x+c x^2}+\left (30 c^2 d^4\right ) \int \frac {(b d+2 c d x)^2}{a+b x+c x^2} \, dx\\ &=60 c^2 d^6 (b+2 c x)-\frac {d^6 (b+2 c x)^5}{2 \left (a+b x+c x^2\right )^2}-\frac {5 c d^6 (b+2 c x)^3}{a+b x+c x^2}+\left (30 c^2 \left (b^2-4 a c\right ) d^6\right ) \int \frac {1}{a+b x+c x^2} \, dx\\ &=60 c^2 d^6 (b+2 c x)-\frac {d^6 (b+2 c x)^5}{2 \left (a+b x+c x^2\right )^2}-\frac {5 c d^6 (b+2 c x)^3}{a+b x+c x^2}-\left (60 c^2 \left (b^2-4 a c\right ) d^6\right ) \operatorname {Subst}\left (\int \frac {1}{b^2-4 a c-x^2} \, dx,x,b+2 c x\right )\\ &=60 c^2 d^6 (b+2 c x)-\frac {d^6 (b+2 c x)^5}{2 \left (a+b x+c x^2\right )^2}-\frac {5 c d^6 (b+2 c x)^3}{a+b x+c x^2}-60 c^2 \sqrt {b^2-4 a c} d^6 \tanh ^{-1}\left (\frac {b+2 c x}{\sqrt {b^2-4 a c}}\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.06, size = 113, normalized size = 1.05 \begin {gather*} d^6 \left (-60 c^2 \sqrt {4 a c-b^2} \tan ^{-1}\left (\frac {b+2 c x}{\sqrt {4 a c-b^2}}\right )+\frac {9 c \left (4 a c-b^2\right ) (b+2 c x)}{a+x (b+c x)}-\frac {\left (b^2-4 a c\right )^2 (b+2 c x)}{2 (a+x (b+c x))^2}+64 c^3 x\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(b*d + 2*c*d*x)^6/(a + b*x + c*x^2)^3,x]

[Out]

d^6*(64*c^3*x - ((b^2 - 4*a*c)^2*(b + 2*c*x))/(2*(a + x*(b + c*x))^2) + (9*c*(-b^2 + 4*a*c)*(b + 2*c*x))/(a +
x*(b + c*x)) - 60*c^2*Sqrt[-b^2 + 4*a*c]*ArcTan[(b + 2*c*x)/Sqrt[-b^2 + 4*a*c]])

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(b d+2 c d x)^6}{\left (a+b x+c x^2\right )^3} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(b*d + 2*c*d*x)^6/(a + b*x + c*x^2)^3,x]

[Out]

IntegrateAlgebraic[(b*d + 2*c*d*x)^6/(a + b*x + c*x^2)^3, x]

________________________________________________________________________________________

fricas [B]  time = 0.40, size = 571, normalized size = 5.29 \begin {gather*} \left [\frac {128 \, c^{5} d^{6} x^{5} + 256 \, b c^{4} d^{6} x^{4} + 4 \, {\left (23 \, b^{2} c^{3} + 100 \, a c^{4}\right )} d^{6} x^{3} - 2 \, {\left (27 \, b^{3} c^{2} - 236 \, a b c^{3}\right )} d^{6} x^{2} - 4 \, {\left (5 \, b^{4} c - 13 \, a b^{2} c^{2} - 60 \, a^{2} c^{3}\right )} d^{6} x - {\left (b^{5} + 10 \, a b^{3} c - 56 \, a^{2} b c^{2}\right )} d^{6} + 60 \, {\left (c^{4} d^{6} x^{4} + 2 \, b c^{3} d^{6} x^{3} + 2 \, a b c^{2} d^{6} x + a^{2} c^{2} d^{6} + {\left (b^{2} c^{2} + 2 \, a c^{3}\right )} d^{6} x^{2}\right )} \sqrt {b^{2} - 4 \, a c} \log \left (\frac {2 \, c^{2} x^{2} + 2 \, b c x + b^{2} - 2 \, a c - \sqrt {b^{2} - 4 \, a c} {\left (2 \, c x + b\right )}}{c x^{2} + b x + a}\right )}{2 \, {\left (c^{2} x^{4} + 2 \, b c x^{3} + 2 \, a b x + {\left (b^{2} + 2 \, a c\right )} x^{2} + a^{2}\right )}}, \frac {128 \, c^{5} d^{6} x^{5} + 256 \, b c^{4} d^{6} x^{4} + 4 \, {\left (23 \, b^{2} c^{3} + 100 \, a c^{4}\right )} d^{6} x^{3} - 2 \, {\left (27 \, b^{3} c^{2} - 236 \, a b c^{3}\right )} d^{6} x^{2} - 4 \, {\left (5 \, b^{4} c - 13 \, a b^{2} c^{2} - 60 \, a^{2} c^{3}\right )} d^{6} x - {\left (b^{5} + 10 \, a b^{3} c - 56 \, a^{2} b c^{2}\right )} d^{6} - 120 \, {\left (c^{4} d^{6} x^{4} + 2 \, b c^{3} d^{6} x^{3} + 2 \, a b c^{2} d^{6} x + a^{2} c^{2} d^{6} + {\left (b^{2} c^{2} + 2 \, a c^{3}\right )} d^{6} x^{2}\right )} \sqrt {-b^{2} + 4 \, a c} \arctan \left (-\frac {\sqrt {-b^{2} + 4 \, a c} {\left (2 \, c x + b\right )}}{b^{2} - 4 \, a c}\right )}{2 \, {\left (c^{2} x^{4} + 2 \, b c x^{3} + 2 \, a b x + {\left (b^{2} + 2 \, a c\right )} x^{2} + a^{2}\right )}}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*c*d*x+b*d)^6/(c*x^2+b*x+a)^3,x, algorithm="fricas")

[Out]

[1/2*(128*c^5*d^6*x^5 + 256*b*c^4*d^6*x^4 + 4*(23*b^2*c^3 + 100*a*c^4)*d^6*x^3 - 2*(27*b^3*c^2 - 236*a*b*c^3)*
d^6*x^2 - 4*(5*b^4*c - 13*a*b^2*c^2 - 60*a^2*c^3)*d^6*x - (b^5 + 10*a*b^3*c - 56*a^2*b*c^2)*d^6 + 60*(c^4*d^6*
x^4 + 2*b*c^3*d^6*x^3 + 2*a*b*c^2*d^6*x + a^2*c^2*d^6 + (b^2*c^2 + 2*a*c^3)*d^6*x^2)*sqrt(b^2 - 4*a*c)*log((2*
c^2*x^2 + 2*b*c*x + b^2 - 2*a*c - sqrt(b^2 - 4*a*c)*(2*c*x + b))/(c*x^2 + b*x + a)))/(c^2*x^4 + 2*b*c*x^3 + 2*
a*b*x + (b^2 + 2*a*c)*x^2 + a^2), 1/2*(128*c^5*d^6*x^5 + 256*b*c^4*d^6*x^4 + 4*(23*b^2*c^3 + 100*a*c^4)*d^6*x^
3 - 2*(27*b^3*c^2 - 236*a*b*c^3)*d^6*x^2 - 4*(5*b^4*c - 13*a*b^2*c^2 - 60*a^2*c^3)*d^6*x - (b^5 + 10*a*b^3*c -
 56*a^2*b*c^2)*d^6 - 120*(c^4*d^6*x^4 + 2*b*c^3*d^6*x^3 + 2*a*b*c^2*d^6*x + a^2*c^2*d^6 + (b^2*c^2 + 2*a*c^3)*
d^6*x^2)*sqrt(-b^2 + 4*a*c)*arctan(-sqrt(-b^2 + 4*a*c)*(2*c*x + b)/(b^2 - 4*a*c)))/(c^2*x^4 + 2*b*c*x^3 + 2*a*
b*x + (b^2 + 2*a*c)*x^2 + a^2)]

________________________________________________________________________________________

giac [A]  time = 0.17, size = 196, normalized size = 1.81 \begin {gather*} 64 \, c^{3} d^{6} x + \frac {60 \, {\left (b^{2} c^{2} d^{6} - 4 \, a c^{3} d^{6}\right )} \arctan \left (\frac {2 \, c x + b}{\sqrt {-b^{2} + 4 \, a c}}\right )}{\sqrt {-b^{2} + 4 \, a c}} - \frac {36 \, b^{2} c^{3} d^{6} x^{3} - 144 \, a c^{4} d^{6} x^{3} + 54 \, b^{3} c^{2} d^{6} x^{2} - 216 \, a b c^{3} d^{6} x^{2} + 20 \, b^{4} c d^{6} x - 52 \, a b^{2} c^{2} d^{6} x - 112 \, a^{2} c^{3} d^{6} x + b^{5} d^{6} + 10 \, a b^{3} c d^{6} - 56 \, a^{2} b c^{2} d^{6}}{2 \, {\left (c x^{2} + b x + a\right )}^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*c*d*x+b*d)^6/(c*x^2+b*x+a)^3,x, algorithm="giac")

[Out]

64*c^3*d^6*x + 60*(b^2*c^2*d^6 - 4*a*c^3*d^6)*arctan((2*c*x + b)/sqrt(-b^2 + 4*a*c))/sqrt(-b^2 + 4*a*c) - 1/2*
(36*b^2*c^3*d^6*x^3 - 144*a*c^4*d^6*x^3 + 54*b^3*c^2*d^6*x^2 - 216*a*b*c^3*d^6*x^2 + 20*b^4*c*d^6*x - 52*a*b^2
*c^2*d^6*x - 112*a^2*c^3*d^6*x + b^5*d^6 + 10*a*b^3*c*d^6 - 56*a^2*b*c^2*d^6)/(c*x^2 + b*x + a)^2

________________________________________________________________________________________

maple [B]  time = 0.06, size = 289, normalized size = 2.68 \begin {gather*} \frac {72 a \,c^{4} d^{6} x^{3}}{\left (c \,x^{2}+b x +a \right )^{2}}-\frac {18 b^{2} c^{3} d^{6} x^{3}}{\left (c \,x^{2}+b x +a \right )^{2}}+\frac {108 a b \,c^{3} d^{6} x^{2}}{\left (c \,x^{2}+b x +a \right )^{2}}-\frac {27 b^{3} c^{2} d^{6} x^{2}}{\left (c \,x^{2}+b x +a \right )^{2}}+\frac {56 a^{2} c^{3} d^{6} x}{\left (c \,x^{2}+b x +a \right )^{2}}+\frac {26 a \,b^{2} c^{2} d^{6} x}{\left (c \,x^{2}+b x +a \right )^{2}}-\frac {10 b^{4} c \,d^{6} x}{\left (c \,x^{2}+b x +a \right )^{2}}+\frac {28 a^{2} b \,c^{2} d^{6}}{\left (c \,x^{2}+b x +a \right )^{2}}-\frac {5 a \,b^{3} c \,d^{6}}{\left (c \,x^{2}+b x +a \right )^{2}}-\frac {b^{5} d^{6}}{2 \left (c \,x^{2}+b x +a \right )^{2}}+64 c^{3} d^{6} x -60 \sqrt {4 a c -b^{2}}\, c^{2} d^{6} \arctan \left (\frac {2 c x +b}{\sqrt {4 a c -b^{2}}}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((2*c*d*x+b*d)^6/(c*x^2+b*x+a)^3,x)

[Out]

64*d^6*c^3*x+72*d^6/(c*x^2+b*x+a)^2*x^3*a*c^4-18*d^6/(c*x^2+b*x+a)^2*x^3*b^2*c^3+108*d^6/(c*x^2+b*x+a)^2*x^2*a
*b*c^3-27*d^6/(c*x^2+b*x+a)^2*x^2*b^3*c^2+56*d^6/(c*x^2+b*x+a)^2*a^2*c^3*x+26*d^6/(c*x^2+b*x+a)^2*a*b^2*c^2*x-
10*d^6/(c*x^2+b*x+a)^2*b^4*c*x+28*d^6/(c*x^2+b*x+a)^2*a^2*b*c^2-5*d^6/(c*x^2+b*x+a)^2*a*b^3*c-1/2*d^6/(c*x^2+b
*x+a)^2*b^5-60*d^6*c^2*(4*a*c-b^2)^(1/2)*arctan((2*c*x+b)/(4*a*c-b^2)^(1/2))

________________________________________________________________________________________

maxima [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*c*d*x+b*d)^6/(c*x^2+b*x+a)^3,x, algorithm="maxima")

[Out]

Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'a
ssume' command before evaluation *may* help (example of legal syntax is 'assume(4*a*c-b^2>0)', see `assume?` f
or more details)Is 4*a*c-b^2 positive or negative?

________________________________________________________________________________________

mupad [B]  time = 0.57, size = 254, normalized size = 2.35 \begin {gather*} \frac {x\,\left (56\,a^2\,c^3\,d^6+26\,a\,b^2\,c^2\,d^6-10\,b^4\,c\,d^6\right )+x^3\,\left (72\,a\,c^4\,d^6-18\,b^2\,c^3\,d^6\right )-\frac {b^5\,d^6}{2}-x^2\,\left (27\,b^3\,c^2\,d^6-108\,a\,b\,c^3\,d^6\right )+28\,a^2\,b\,c^2\,d^6-5\,a\,b^3\,c\,d^6}{x^2\,\left (b^2+2\,a\,c\right )+a^2+c^2\,x^4+2\,a\,b\,x+2\,b\,c\,x^3}+64\,c^3\,d^6\,x-60\,c^2\,d^6\,\mathrm {atan}\left (\frac {30\,b\,c^2\,d^6\,\sqrt {4\,a\,c-b^2}+60\,c^3\,d^6\,x\,\sqrt {4\,a\,c-b^2}}{120\,a\,c^3\,d^6-30\,b^2\,c^2\,d^6}\right )\,\sqrt {4\,a\,c-b^2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*d + 2*c*d*x)^6/(a + b*x + c*x^2)^3,x)

[Out]

(x*(56*a^2*c^3*d^6 - 10*b^4*c*d^6 + 26*a*b^2*c^2*d^6) + x^3*(72*a*c^4*d^6 - 18*b^2*c^3*d^6) - (b^5*d^6)/2 - x^
2*(27*b^3*c^2*d^6 - 108*a*b*c^3*d^6) + 28*a^2*b*c^2*d^6 - 5*a*b^3*c*d^6)/(x^2*(2*a*c + b^2) + a^2 + c^2*x^4 +
2*a*b*x + 2*b*c*x^3) + 64*c^3*d^6*x - 60*c^2*d^6*atan((30*b*c^2*d^6*(4*a*c - b^2)^(1/2) + 60*c^3*d^6*x*(4*a*c
- b^2)^(1/2))/(120*a*c^3*d^6 - 30*b^2*c^2*d^6))*(4*a*c - b^2)^(1/2)

________________________________________________________________________________________

sympy [B]  time = 3.91, size = 299, normalized size = 2.77 \begin {gather*} 64 c^{3} d^{6} x + c^{2} d^{6} \sqrt {- 3600 a c + 900 b^{2}} \log {\left (x + \frac {30 b c^{2} d^{6} - c^{2} d^{6} \sqrt {- 3600 a c + 900 b^{2}}}{60 c^{3} d^{6}} \right )} - c^{2} d^{6} \sqrt {- 3600 a c + 900 b^{2}} \log {\left (x + \frac {30 b c^{2} d^{6} + c^{2} d^{6} \sqrt {- 3600 a c + 900 b^{2}}}{60 c^{3} d^{6}} \right )} + \frac {56 a^{2} b c^{2} d^{6} - 10 a b^{3} c d^{6} - b^{5} d^{6} + x^{3} \left (144 a c^{4} d^{6} - 36 b^{2} c^{3} d^{6}\right ) + x^{2} \left (216 a b c^{3} d^{6} - 54 b^{3} c^{2} d^{6}\right ) + x \left (112 a^{2} c^{3} d^{6} + 52 a b^{2} c^{2} d^{6} - 20 b^{4} c d^{6}\right )}{2 a^{2} + 4 a b x + 4 b c x^{3} + 2 c^{2} x^{4} + x^{2} \left (4 a c + 2 b^{2}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*c*d*x+b*d)**6/(c*x**2+b*x+a)**3,x)

[Out]

64*c**3*d**6*x + c**2*d**6*sqrt(-3600*a*c + 900*b**2)*log(x + (30*b*c**2*d**6 - c**2*d**6*sqrt(-3600*a*c + 900
*b**2))/(60*c**3*d**6)) - c**2*d**6*sqrt(-3600*a*c + 900*b**2)*log(x + (30*b*c**2*d**6 + c**2*d**6*sqrt(-3600*
a*c + 900*b**2))/(60*c**3*d**6)) + (56*a**2*b*c**2*d**6 - 10*a*b**3*c*d**6 - b**5*d**6 + x**3*(144*a*c**4*d**6
 - 36*b**2*c**3*d**6) + x**2*(216*a*b*c**3*d**6 - 54*b**3*c**2*d**6) + x*(112*a**2*c**3*d**6 + 52*a*b**2*c**2*
d**6 - 20*b**4*c*d**6))/(2*a**2 + 4*a*b*x + 4*b*c*x**3 + 2*c**2*x**4 + x**2*(4*a*c + 2*b**2))

________________________________________________________________________________________